import bb.cascades 1.0

Page {
    titleBar: TitleBar {
        id: titleBar
        visibility: ChromeVisibility.Visible
        title: lang.help_add
    }
    Container {
//        horizontalAlignment: HorizontalAlignment.Center
        Container {
            maxHeight: 600
            horizontalAlignment: HorizontalAlignment.Center
            topPadding: 50
            layout: StackLayout {
                orientation: LayoutOrientation.LeftToRight
            }
            ImageView {
                scalingMethod: ScalingMethod.AspectFit
                imageSource: "asset:///images/help/add0.png"
            }
            ImageView {
                scalingMethod: ScalingMethod.AspectFit
                imageSource: "asset:///images/help/add1.png"
            }
        }
        Container {
            topPadding: 50
            horizontalAlignment: HorizontalAlignment.Center
            Label {
                multiline: true
                text: lang.help_add_description
            }
        }
        Container {
            topPadding: 50
            horizontalAlignment: HorizontalAlignment.Center
            Button {
                text: lang.next
                
                onClicked:{
                    var helpcpage = helpc.createObject();
                    homeNavigation.push(helpcpage);
                }
            }
        }
    }
    //    Container {
    //        Button {
    //            text: "next"
    //            
    //            onClicked:{
    //                var helpcpage = helpc.createObject();
    //                homeNavigation.push(helpcpage);
    //            }
    //        }
    //    }
    
    attachedObjects: [
        ComponentDefinition {                      
            id: helpc                       
            source: "HelpC.qml"
        }
    ]
}
